WPGraphQL\Registry\TypeRegistry D

Total Complexity 135
Dependencies 131
Dependents 62
Total lines 1,333
Lines of code 698
Logical lines of code 390
Comment lines 492
Methods 35
Properties 7

Methods 35

Method Rating Maintainability Complexity Lines of code
init_type_registry()
D
20
24 271
prepare_field()
A
41 14 61
register_type()
A
46 12 41
register_field()
A
42 8 62
prepare_type()
A
49 10 32
prepare_config_for_introspection()
S
59 6 14
register_fields()
S
64 6 9
prepare_fields()
S
61 5 12
setup_type_modifiers()
S
60 4 14
register_connections_from_config()
S
59 4 14
get_excluded_mutations()
S
67 3 7
get_excluded_connections()
S
67 3 7
get_excluded_types()
S
67 3 7
list_of()
S
65 3 10
deregister_mutation()
S
62 2 13
deregister_connection()
S
62 2 12
get_eager_type_map()
S
64 2 11
deregister_field()
S
63 2 11
get_type()
S
64 2 9
get_introspection_keys()
S
67 2 7
register_mutation()
S
68 2 7
non_null()
S
69 2 7
get_unmodified_type_name()
S
68 2 7
init()
S
61 1 12
__construct()
S
74 1 5
register_connection()
S
80 1 3
get_types()
S
79 1 3
format_key()
S
80 1 3
register_union_type()
S
75 1 4
register_input_type()
S
75 1 4
register_enum_type()
S
75 1 4
register_interface_type()
S
75 1 4
register_object_type()
S
75 1 4
register_scalar()
S
75 1 4
has_type()
S
79 1 3